<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title><?php echo $catename;?> - <?php echo siteInfo('sitename');?></title>
	<meta name="keywords" content="<?php echo siteInfo('keywords');?>">
	<meta name="description" content="<?php echo siteInfo('descript');?>">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="<?php echo U_RES;?>/lib/layui/css/layui.css">
	<link rel="stylesheet" href="<?php echo U_RES_APP;?>/css/main.css">
	<link rel="stylesheet" href="<?php echo U_RES_APP;?>/css/index.css">
	<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
	<!--[if lt IE 9]>
	  <script src="/res/lib/js/html5shiv-printshiv.min.js"></script>
	  <script src="/res/lib/js/respond.min.js"></script>
	<![endif]-->
</head>
<body>
	<import file="block/special.html" name="style"/>
	<import file="block/special.html" name="toper"/>

	<import file="block/special.html" name="child_nav"/>
<div class="layui-container">

<div class="layui-card">
	<div class="layui-card-body cxuu_top_info">
	    <div class="layui-col-xs7">
			<import file="block/common.html" name="cateurl"/>
		</div>
		<div class="layui-col-xs5 ">
			<import file="block/common.html" name="search"/>
		</div>
	</div>
</div>
	
<div id="cxuu_main">
    <div class="layui-row  layui-col-space10">
		<?php for($x=0; $x<=11; $x++){?>
		<div class="layui-col-xs4">
			<div class="layui-card">
			<div class="layui-card-header cxuu_cate_title"><?php echo $catename;?></div>
			<div class="layui-card-body cxuu_list">
			  <ul>
				<?php foreach(CxuuList("table='article' cid='1,2,3' limit='5' cache='600'") as $vo){?>
				<li><span class="layui-badge-dot layui-bg-blue"></span><span class="cxuu_time"><?php echo FTime($vo['time'],'Y-m-d');?></span> <a href="<?php echo urlInfo($vo['id']);?>" target="_blank"><?php echo MbStr($vo['title'],40);?></a> <?php echo $vo['imgbl'] ==1 ?'<i class="layui-icon layui-icon-picture" style="color:#1E9FFF"></i>':'';?></li>
				<?php if(($key+1)%5==0){echo '<hr class="layui-bg-gray">';}?>
				<?php }?>
			  </ul>
			  </div>
			</div>
		</div>
		<?php }?>
	</div>
	
</div>
</div>

<script src="<?php echo U_RES;?>/lib/layui/layui.js" charset="utf-8"></script>
<script>
layui.define(function(){
	var layer = layui.layer	,element = layui.element;
});
</script>
<import file="block/common.html" name="footer"/>
</body>
</html>